{% load static %}
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <script type="text/javascript" src="{% static 'js/echarts/jquery-3.2.1.js' %}"></script>
    <script type="text/javascript" src="{% static 'js/echarts/echarts.js' %}"></script>
    <script type="text/javascript" src="{% static 'js/datashow.js' %}"></script>

    <title>Title</title>
</head>
<body>
<div id="main" style="width: 100%;height: calc(100vh - 15px)"></div>

<input type="text" style="display: none;" id="model_id" value="{{ model_id }}">

<script>

    var model_id = $("#model_id").val();

    $.ajax({
        url: '{% url 'model_run' %}',
        type: 'POST',
        data: {"model_id": model_id},
        success: function (data) {
            atlas(data.data.nodes, data.data.edges,'main')
        }
    });
</script>
</body>
</html>